package com.nbst.model.erp;

import java.util.Date;

/**
 * @ClassName: MiniOrder
 * @Description:简略版销售订单
 * @author King
 * @date 2018年11月23日
 * 
 */
public class MiniOrder {

	/** 销售订单号 */
	private String fBillNo;

	/** 销售订单内码 */
	private Integer fInterID;

	/** 分录内码 */
	private Integer fEntryID;

	/** 产品内码 */
	private Integer fItemID;

	/** 产品名称 */
	private String fName;

	/** 产品代码 */
	private String fNumber;

	/** 规格型号 */
	private String fModel;

	/** 数量 */
	private Double fQty;

	/** 单位内码 */
	private Integer fUnitID;

	/** 单位 */
	private String fUintName;

	/** 摘要 */
	private String fExplanation;

	/** 交期 */
	private Date fDate;

	/** 数量 */
	private Double fAuxQty;

	/** 分录表主键 */
	private Integer fDetailID;

	/**
	 * 是否已运算MRP null和0为没有运算 1为已运算过采购需求等待采购回复采购交期，2等待进行正式MRP运算 3 为已运行过MRP
	 * 4为运行过MRP并且库存足够，可直接进行销售出库 5为已做过发货准备（仓库调拨完成）
	 */
	private Integer fIsOperationMRP;

	/** 业务员 */
	private Integer fEmpId;

	/** 部门 */
	private Integer fDeptID;
	
	/**
	 * 是否有Bom
	 */
	private Integer isNoBom;
	
	/**备注*/
	private String fNote;
	
	private String fProductionSchedule;
	
	/**安全库存*/
	private Double fSecInv;
	
	/**最小存量*/
	private Double fLowLimit;
	
	/**备库存数*/
	private Double fInvQty;
	
	/**最小生产批量*/
	private Double fQtyMin;
	
	/**发货数量*/
	private Double fCommitQty;
	
	/**最小生产批量*/
	private String fCustName;
	
	/**入库数量*/
	private Double fInStockQty;
	
	/**出库数量*/
	private Double fStockQty;
	
	public String getfBillNo() {
		return fBillNo;
	}

	public void setfBillNo(String fBillNo) {
		this.fBillNo = fBillNo;
	}

	public Integer getfInterID() {
		return fInterID;
	}

	public void setfInterID(Integer fInterID) {
		this.fInterID = fInterID;
	}

	public Integer getfEntryID() {
		return fEntryID;
	}

	public void setfEntryID(Integer fEntryID) {
		this.fEntryID = fEntryID;
	}

	public Integer getfItemID() {
		return fItemID;
	}

	public void setfItemID(Integer fItemID) {
		this.fItemID = fItemID;
	}

	public String getfName() {
		return fName;
	}

	public void setfName(String fName) {
		this.fName = fName;
	}

	public String getfNumber() {
		return fNumber;
	}

	public void setfNumber(String fNumber) {
		this.fNumber = fNumber;
	}

	public String getfModel() {
		return fModel;
	}

	public void setfModel(String fModel) {
		this.fModel = fModel;
	}

	public Double getfQty() {
		return fQty;
	}

	public void setfQty(Double fQty) {
		this.fQty = fQty;
	}

	public Integer getfUnitID() {
		return fUnitID;
	}

	public void setfUnitID(Integer fUnitID) {
		this.fUnitID = fUnitID;
	}

	public String getfUintName() {
		return fUintName;
	}

	public void setfUintName(String fUintName) {
		this.fUintName = fUintName;
	}

	public String getfExplanation() {
		return fExplanation;
	}

	public void setfExplanation(String fExplanation) {
		this.fExplanation = fExplanation;
	}

	public Date getfDate() {
		return fDate;
	}

	public void setfDate(Date fDate) {
		this.fDate = fDate;
	}

	public Double getfAuxQty() {
		return fAuxQty;
	}

	public void setfAuxQty(Double fAuxQty) {
		this.fAuxQty = fAuxQty;
	}

	public Integer getfDetailID() {
		return fDetailID;
	}

	public void setfDetailID(Integer fDetailID) {
		this.fDetailID = fDetailID;
	}

	public Integer getfIsOperationMRP() {
		return fIsOperationMRP;
	}

	public void setfIsOperationMRP(Integer fIsOperationMRP) {
		this.fIsOperationMRP = fIsOperationMRP;
	}

	public Integer getfEmpId() {
		return fEmpId;
	}

	public void setfEmpId(Integer fEmpId) {
		this.fEmpId = fEmpId;
	}

	public Integer getfDeptID() {
		return fDeptID;
	}

	public void setfDeptID(Integer fDeptID) {
		this.fDeptID = fDeptID;
	}

	public Integer getIsNoBom() {
		return isNoBom;
	}

	public void setIsNoBom(Integer isNoBom) {
		this.isNoBom = isNoBom;
	}

	public String getfNote() {
		return fNote;
	}

	public void setfNote(String fNote) {
		this.fNote = fNote;
	}

	public String getfProductionSchedule() {
		return fProductionSchedule;
	}

	public void setfProductionSchedule(String fProductionSchedule) {
		this.fProductionSchedule = fProductionSchedule;
	}

	public Double getfSecInv() {
		return fSecInv;
	}

	public void setfSecInv(Double fSecInv) {
		this.fSecInv = fSecInv;
	}

	public Double getfLowLimit() {
		return fLowLimit;
	}

	public void setfLowLimit(Double fLowLimit) {
		this.fLowLimit = fLowLimit;
	}

	public Double getfInvQty() {
		return fInvQty;
	}

	public void setfInvQty(Double fInvQty) {
		this.fInvQty = fInvQty;
	}

	public Double getfQtyMin() {
		return fQtyMin;
	}

	public void setfQtyMin(Double fQtyMin) {
		this.fQtyMin = fQtyMin;
	}

	public String getfCustName() {
		return fCustName;
	}

	public void setfCustName(String fCustName) {
		this.fCustName = fCustName;
	}

	public Double getfCommitQty() {
		return fCommitQty;
	}

	public void setfCommitQty(Double fCommitQty) {
		this.fCommitQty = fCommitQty;
	}

	@Override
	public String toString() {
		return "MiniOrder [fBillNo=" + fBillNo + ", fInterID=" + fInterID + ", fEntryID=" + fEntryID + ", fItemID="
				+ fItemID + ", fName=" + fName + ", fNumber=" + fNumber + ", fModel=" + fModel + ", fQty=" + fQty
				+ ", fUnitID=" + fUnitID + ", fUintName=" + fUintName + ", fExplanation=" + fExplanation + ", fDate="
				+ fDate + ", fAuxQty=" + fAuxQty + ", fDetailID=" + fDetailID + ", fIsOperationMRP=" + fIsOperationMRP
				+ ", fEmpId=" + fEmpId + ", fDeptID=" + fDeptID + ", isNoBom=" + isNoBom + ", fNote=" + fNote
				+ ", fProductionSchedule=" + fProductionSchedule + ", fSecInv=" + fSecInv + ", fLowLimit=" + fLowLimit
				+ ", fInvQty=" + fInvQty + ", fQtyMin=" + fQtyMin + ", fCustName=" + fCustName + "]";
	}

}
